package com.happe.foodeasy.manage.dao;

import com.happe.foodeasy.manage.dto.CommodityBaseDTO;
import com.happe.foodeasy.manage.dto.TypeAndStatusDTO;
import com.happe.foodeasy.manage.commodity.entity.CommodityBaseEntity;

import java.util.List;

public interface CommodityBaseMapper {
    CommodityBaseEntity selectLastLine();

    void save(CommodityBaseDTO commodityBaseDTO);

    List<CommodityBaseEntity> selectAllByTypeAndStatus(TypeAndStatusDTO commodityLocateDTO);
}
